From: Marco Trevisan (TreviƱo) Date: Thu, 9 Oct 2025 11:56:27 +0000 (+0200) Subject: notificationDaemon: Always set the FDO notification closed reason X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~80^2^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=67be7d1be483929cb65633947c97927e5a8fd090;p=gnome-shell.git notificationDaemon: Always set the FDO notification closed reason The undefined closed reason according to the API is 4, but we were potentially returning an unsupported value (0). Part-of: --- diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 00a3dbcdb..3d9edaceb 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -188,6 +188,9 @@ class FdoNotificationDaemon { case MessageTray.NotificationDestroyedReason.SOURCE_CLOSED: notificationClosedReason = NotificationClosedReason.APP_CLOSED; break; + default: + notificationClosedReason = NotificationClosedReason.UNDEFINED; + break; } this._emitNotificationClosed(id, notificationClosedReason); });